Re: [R] Creating a hyperlink in a csv file
On Fri, Mar 15, 2013 at 10:52 AM, Brian Smith wrote: > 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: A csv file is a plan text file and by definition doesn't have hyperlinks. If you want a hyperlink, you'll need to export to a different format or use a reader which will interpret a URL as a hyperlink automatically. MW __ R-help@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.
[R] Creating a hyperlink in 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),"http://www.google.com";) 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@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.