[R-pkg-devel] Guidance on importind multiple text files for @example
sorry , my bad!
its,
x<-file.path("C:/Users/anand/Desktop/Internship", "dataftc")
Thanks,
Ujjwal
On Thu, May 11, 2017 at 3:54 PM, ujjwal anand <ujjwalsas9 at gmail.com> wrote:
Hi,
I am creating a function ftsc(x)
where x is given by:
x<-cname <- file.path("C:/Users/anand/Desktop/Internship", "dataftc")
In the dataftc folder I have stored all the text files to be clustered by
my function.
So, while creating the package I have to include an example and that is my
problem.
I am not able to define a path for data folder in @example.
So, please let me know if you have some ideas about it.
Thanks & regards,
Ujjwal
On Thu, May 11, 2017 at 3:47 PM, Duncan Murdoch <murdoch.duncan at gmail.com>
wrote:
On 11/05/2017 6:42 AM, ujjwal anand wrote:
Hello Sir/Ma'am, I am trying to build a package on R. But my function, which takes a folder full of text files as an argument. So, could you please share some ideas on how to import a folder (which contains multiple text files) for "@example".
Not sure what you mean by "import". What are you starting with? What do you want to end up with? Duncan Murdoch