[R] Writing a hyperlink to a csv file

John Kane jrkrideau at inbox.com
Fri Mar 15 14:07:36 CET 2013


Well you can write it there but it won't do anything until read into some software that can interpret it as a url.  A csv file is just plain text.

John Kane
Kingston ON Canada


> -----Original Message-----
> From: bsmith030465 at gmail.com
> Sent: Fri, 15 Mar 2013 07:53:02 -0400
> To: r-help at r-project.org
> Subject: [R] Writing a hyperlink to a csv file
> 
> Hi,
> 
> I was wondering if it is possible to create a hyperlink in a csv file
> using
> R code and some package. For example, in the following code:
> 
> links <- cbind(rep('Click for Google',3),"google search address goes
> here")
> ## R Mailing list blocks if I put the actual web address here
> write.table(links,'test.csv',
> sep=',',row.names=F,col.names=F)
> 
> 
> the web address should be linked to 'Click for Google'.
> 
> many thanks!
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

____________________________________________________________
Send your photos by email in seconds...
TRY FREE IM TOOLPACK at http://www.imtoolpack.com/default.aspx?rc=if3
Works in all emails, instant messengers, blogs, forums and social networks.



More information about the R-help mailing list