Re: [R] count number of stop words in R

2017-06-12 Thread Florian Schwendinger
If you just want to count the stopwords you cloud do something like, library(slam) library(tm) your_string <- "Mhm . Alright . There's um a young boy that's getting a cookie jar . And it he's uh in bad shape because uh the thing is falling over . And in the picture the mother is washing dishes

Re: [R] Error in reading subset of data from CSV file

2016-09-05 Thread Florian Schwendinger
There are several issues, 1. I think ReadName = '133261' read.csv.sql("Dat.csv", sql = "select * from file where 'col 1' = ReadName") should be replaced by something like this ReadName = '133261' sql_cmd <- sprintf("select * from file where col_1='%s'", ReadName) sql_cmd

Re: [R] [Rd] TensorFlow in R

2016-04-03 Thread Florian Schwendinger
Hi Axel, Maybe the following works for you. https://bitbucket.org/Fl/tensorflow-r-examples/src/ Florian Schwendinger On 2016-04-01 18:32, Axel Urbiz wrote: Hi All, I didn't have much success through my Google search in finding any active R-related projects to create a wrapper around

Re: [R] PythonInR. Python script in R with parameters required. Download satellite images from NASA

2015-08-02 Thread Florian Schwendinger
I believe the Problem is that you trying to give command line arguments pyExecfile(myPythonScript.py) and pyExecfile only expects to get a filename. In Pyhton27 pyExecfile only runs the Python command execfile on the given filename. So the Problem is that in