i did do a byte compiling but that didnt help. i got this message when i did byte compile
Compiling no file at Sat Aug 8 07:06:30 2015
Leaving directory `/home/zeltak/.emacs.d/elpa/ace-isearch-20150807.1803'
Compiling file /home/zeltak/.emacs.d/elpa/org-20150805/ob-R.el at Sat Aug 8 07:06:55 2015
Entering directory `/home/zeltak/.emacs.d/elpa/org-20150805/'
ob-R.el:72:11:Warning: reference to free variable `org-babel-safe-header-args'
In end of data:
ob-R.el:470:1:Warning: the following functions are not known to be defined:
org-babel-header-args-safe-fn, org-babel-graphical-output-file